<div class="status">
    合計 {{ order.real_price }}
    <!--发送邮件连接到邮件发送页面-->
    <a  href="/sendorderemail-{{ order.sn }}.html"  class="fa fa-envelope"></a>

    <!--取消操作-->
    {% if order.order_status.code == 'placed' or order.order_status.code=='pressed'%}
    <div class="pay-cansel fr">
        <button data-sn="{{ order.sn }}" class="pay_btn2 order_pay_cancel">キャンセル</button>
    </div>
    {% endif %}

    {% if order.order_status.code=='placed' or order.order_status.code=='pressed' %}
    <div class="pay-botton-form fr">
<!--         {{ form_open({'request': 'onRePaymentOrder', 'class': 'checkoutForm','id':'yy_onRePaymentOrder_'~order.sn}) }}
        <input type="hidden" name="key" value="{{ order.sn }}">
        <button type="submit" form="yy_onRePaymentOrder_{{ order.sn }}" class="pay_btn">今すぐ支払う</button>
        {{ form_close() }} -->
        <a href="/repay-{{ order.sn }}-{{ order.payment_method }}-p.html" class="pay_btn">今すぐ支払う</a>
    </div>
    {% endif %}

    <!--点击进入物流详情页面-->
    {% if  order.order_status.code == 'paid' or order.order_status.code == 'delivered' or order.order_status.code == 'confirmreceipt' %}
        <div class="fr" style="line-height: 40px;">
            <a href="/viewlogistics-{{ order.sn }}.html" class="pay_btn" style="margin-right: 0;line-height: 18px;">物流情報のチェック</a>
        </div>
    {% endif %}

    <!--催发货提示后台改下ERP状态状态-->
    {% set is_display_ship_reminder = catalog.orderReminderDate(order.created_at) %}
    {% if order.order_status.code == 'paid' and is_display_ship_reminder==1 %}
    <div class="pay-botton-form fr" style="margin-right: 5px;">
        <button  data-request="onOrderShipReminder" data-request-data="sn: {{ order.sn }}"  class="pay_btn tan_cuizzs">出荷を催促する</button>
    </div>
    {% endif %}

    <!--确认收货弹框，修改订单状态-->
    {% if order.order_status.code == 'delivered' %}
    <div class="pay-cansel fr" style="margin-right: 5px;">
        <button data-request="onConfirmReceipt" data-request-data="sn: {{ order.sn }}"  data-request-confirm="ご荷物は受け取りましたか？" class="pay_btn2 pay_btn">受取の確認</button>
    </div>
    {% endif %}

    
</div>